export default function (res) {
    // req_body_is_json_schema is false, and req_body_other is not provided,
    // so no request body validation is needed for this GET request.

    return new Promise((resolve) => {
        setTimeout(() => {
            const positions = Array.from({ length: 5 }, (_, index) => ({
                id: index + 1,
                name: `岗位名称 ${index + 1}`,
            }));

            resolve({
                code: 0,
                message: 'success',
                data: positions,
                timestamp: Date.now(),
                signature: 'signature' + Math.floor(Math.random() * 1000),
                requestId: 'requestId' + Math.floor(Math.random() * 1000),
            });
        }, 100);
    });
}